﻿if exists (select * from dbo.sysobjects where name = 'sp_tblImages_Update')
	drop procedure [dbo].[sp_tblImages_Update]
Go 
CREATE PROCEDURE dbo.sp_tblImages_Update
@_imgid	int,
@_iaid	int,
@_imgname	nvarchar(1024),
@_imglink	nvarchar(1024),
@_imgcreatedate	datetime
AS
UPDATE tblImages SET [_iaid] = @_iaid,[_imgname] = @_imgname,[_imglink] = @_imglink,[_imgcreatedate] = @_imgcreatedate
WHERE  _imgid= @_imgid
Go